package com.gene.pojo.entity;

import java.util.Date;

/**
 * 购物车返回的实体类
 */
public class CartEntity {
    /**
     * 编号
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    private Integer cartId;

    /**
     用户id
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    private Integer userId;

    /**
     商品id
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    private Long itemId;

    /**
     商品数量
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    private Integer num;

    /**
     状态 1正常  2 禁用 3 删除
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    private Byte status;

    /**
     创建时间
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    private Date createTime;

    /**
     * 更新时间
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    private Date updateTime;

    /**
     商品单价,单位分 20000代表200元
     *
     * @mbggenerated Thu Jan 11 15:02:02 CST 2018
     */
    private Long itemPrice;


    /**
     * 商品标题
     */
    private String title;

    /**
     * 商品卖点
     */
    private String sellPoint;

    /**
     * 商品图片
     */
    private String image;

    /**
     * 所属类目，叶子类目
     */
    private Long cid;

    public Integer getCartId() {
        return cartId;
    }

    public void setCartId(Integer cartId) {
        this.cartId = cartId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getItemPrice() {
        return itemPrice;
    }

    public void setItemPrice(Long itemPrice) {
        this.itemPrice = itemPrice;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSellPoint() {
        return sellPoint;
    }

    public void setSellPoint(String sellPoint) {
        this.sellPoint = sellPoint;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }
}
